//
//  WSImageTag.h
//  WSComponent
//
//  Created by lienbao on 15/09/2014.
//  Copyright (c) 2014 Lienbao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface WSImageTag : UIView

@property (nonatomic, readonly) UIImageView *imageView;
@property (nonatomic, readonly) UILabel *titleLabel;

- (id)initWithFrame:(CGRect)frame image:(UIImage *)image title:(NSString *)title;

- (void)setImage:(UIImage *)image title:(NSString *)title;

- (void)resizeConstrainedToSize:(CGSize)size;

@end
